def check(fn):
    def inner():
        print("请先登录.....")
        fn()

    return inner


# def commment():
#     print("发表评论！")


# newFun = check(commment)
@check
def commment():
    print("发表评论！")


commment()
